var speePhoneOrderModule = (function () {
    return {
    	
     /**
        * 提交订单
        * @param {Object} param
        * @param {Object} callBack
        */
        submitOrder: function (param, callBack) {
            utilModule.post({
                url: "speedPhoneOrder/submitOrder",
                data: param,
                needJson: true, 
                async: false,
                success: function (response) {
                    callBack(response);
                }
            });
        },
        
           /**
        * 查看订单明细
        * @param {Object} param
        * @param {Object} callBack
        */
        queryOrderDetail: function (param, callBack) { 
            utilModule.get({
                url: "speedPhoneOrder/queryOrderDetailById",
                data: param,
                needJson: false, 
                async: false,
                success: function (response) {
                    callBack(response);
                }
            });
        },
        
         submitPay: function (param, callBack) {
            utilModule.post({
                url: "speedPhoneOrder/confirmPay",
                data: param,
                needJson: false, 
                async: false,
                success: function (response) {
                    callBack(response);
                }
            });
        },
        pushMessage: function (param, callBack) {
            utilModule.post({
                url: "speedPhoneOrder/pushMessage",
                data: param,
                needJson: false, 
                async: false,
                success: function (response) {
                    callBack(response);
                }
            });
        }
  }
})();